package cn.gene.timeyan.ams.webapi.mapper;

import cn.gene.timeyan.pojo.admin.model.Violation;
import cn.gene.timeyan.pojo.admin.vo.ViolationVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 违规表  Mapper  接口*
 *
 * @author LWG
 * @date 2022/7/21 16:29
 * @since 1.0.0@gene.cn
 */
@Mapper
public interface ViolattionMapper {
    int addViolattion(Violation violation);

    ViolationVO selectViolationIdByUserId(Long userId);
}
